package com.mzj.saas.mservice.department.repository;

import com.mzj.saas.mservice.department.entity.FieldStatusRef;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

public interface FieldStatusRefRepository extends PagingAndSortingRepository<FieldStatusRef, Long>, JpaSpecificationExecutor<FieldStatusRef>, JpaRepository<FieldStatusRef,Long> {
FieldStatusRef findByOrgIdAndDefaultFieldId(Long orgId,Long defaultFieldId);
}
